<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>天天生鲜-用户中心</title>
	<link rel="stylesheet" type="text/css" href="/static/client/css/reset.css">
	<link rel="stylesheet" type="text/css" href="/static/client/css/main.css">
</head>
<body>
<div th:replace="~{/comm/header_con}" />
<div th:replace="~{/comm/search_bar}" />
<!--	<div class="search_bar clearfix">-->
<!--		<a href="index.html" class="logo fl"><img src="/static/client/images/logo.png"></a>-->
<!--		<div class="sub_page_name fl">|&nbsp;&nbsp;&nbsp;&nbsp;用户中心</div>-->
<!--		<div class="search_con fr">-->
<!--			<input type="text" class="input_text fl" name="" placeholder="搜索商品">-->
<!--			<input type="button" class="input_btn fr" name="" value="搜索">-->
<!--		</div>-->
<!--	</div>-->
<div class="main_con clearfix">
	<div class="left_menu_con clearfix">
		<h3>用户中心</h3>
		<ul>
			<li><a href="user_center_info" class="active">· 个人信息</a></li>
			<li><a href="user_center_order">· 全部订单</a></li>
			<li><a href="user_center_site">· 收货地址</a></li>
		</ul>
	</div>
	 <div class="right_content clearfix">
		<h3 class="common_title2">收货地址</h3>
		<div class="site_con">
			<dl th:if="${fAddress}">
				<dt>当前地址: </dt>
				<dd th:text="|${fAddress.address} （${fAddress.userName} 收） ${fAddress.phone}|"></dd>
			</dl>
			<dl th:unless="${fAddress}">
				<dt>您未添加收货地址，请添加。</dt>
			</dl>
		</div>
		<h3 class="common_title2">编辑地址</h3>
		<div class="site_con">
			<form action="/fAddress/update" method="post">
				<input type="hidden" th:value="${fAddress?.id}" name="id">
				<div class="form_group">
					<label>收件人: </label>
					<input type="text" th:value="${fAddress?.userName}" name="userName">
				</div>
				<div class="form_group form_group2">
					<label>详细地址: </label>
					<textarea th:value="${fAddress?.address}" th:text="${fAddress?.address}" name="address" class="site_area"></textarea>
				</div>
				<div class="form_group">
					<label>手机: </label>
					<input type="text" th:value="${fAddress?.phone}" name="phone">
				</div>
				<input type="submit" name="" value="提交" class="info_submit">
			</form>
		</div>
	</div>
</div>
	<div class="footer">
		<div class="foot_link">
			<a href="#">关于我们</a>
			<span>|</span>
			<a href="#">联系我们</a>
			<span>|</span>
			<a href="#">招聘人才</a>
			<span>|</span>
			<a href="#">友情链接</a>
		</div>
		<p>CopyRight © 2016 北京天天生鲜信息技术有限公司 All Rights Reserved</p>
		<p>电话：010-****888    京ICP备*******8号</p>
	</div>

</body>
</html>




